<include file="public+header">

{script}
<!--
function add(){
	Dyhb.AjaxSubmit('domainAdd','{:G::U('domain/insert')}','',complete);
}
function complete(data,status){
    if(status==1){

        window.setTimeout(function (){window.location.href=URL,20000});
    }
}
-->
{/script}

   <!-- 标题  -->
   <div class="title"><lang>添加域名解析</lang> ( <a href="{:G::U('domain/index')}"><lang>返回域名解析列表</lang></a> )</div>

  <!-- 正文 -->
  <div id="content" class="content">

    <form  method="post" id="domainAdd" name="domainAdd">
    <div id="tab_addbadword">
      <table class="form-table full">
          <tr>
            <th valign="top"><label for="domain_name"><lang>域名</lang>:</label></th>
            <td><input type="text" name="domain_name" id="domain_name" class="field" size="40" value=""/>
            <div class="description"><lang>请添加你的域名</lang></div></td>
          </tr>
          <tr>
            <th valign="top"><label for="domain_ip"><lang>IP地址</lang>:</label></th>
            <td><input type="text" name="domain_ip" id="domain_ip" class="field" size="40"  value=""/>
            <div class="description"><lang>IP格式不能填错误，如22.222.222.22</lang></div>
            </td>
          </tr>
      </table>
       <p class="center"><input type="hidden" name="ajax" value="1">
            <input type="button" onclick="add()"  class="button" value=" <lang>添加域名解析</lang> " />
            <input type="reset" class="button" value="  <lang>重  置</lang>  " />
        </p>
   </div>
   </form>

   </div>
   <!-- end content -->

<include file="public+footer">